import request from '@/utils/request'

// 转账地址
export function contractinfo(query) {
  return request({
    url: `/api/contract/info`,
    method: 'get',
    params: query
  })
}

/* 
    "address":"abc",
    "usdt":10
*/
// 新增用户
export function useradd(data) {
  return request({
    url: `/api/user/add`,
    method: 'post',
    data
  })
}